package edu.fiu.cis.personalize.server.graph.update;

import edu.fiu.cis.personalize.server.graph.Group;
import edu.fiu.cis.personalize.server.graph.NodeType;
import edu.fiu.cis.personalize.server.graph.User;

public class UserGroupUpdate extends GraphUpdate<User, Group>{

	private GroupUserUpdate _delegate = new GroupUserUpdate();
	
	@Override
	protected double computeWeight(User u, Group g) {
		return _delegate.computeWeight(g, u);
	}

	@Override
	NodeType type1() {
		return _delegate.type2();
	}

	@Override
	NodeType type2() {
		return _delegate.type1();
	}

}
